package com.nbsaas.boot.order.rest.convert;

import com.nbsaas.boot.order.data.entity.OrderLogistics;
import com.nbsaas.boot.order.api.domain.response.OrderLogisticsResponse;

import com.nbsaas.boot.utils.BeanDataUtils;
import com.nbsaas.boot.rest.api.Converter;
/**
* 订单物流-实体对象转化成响应对象
*/

public class OrderLogisticsResponseConvert  implements Converter<OrderLogisticsResponse,OrderLogistics> {

    @Override
    public OrderLogisticsResponse convert(OrderLogistics source) {
        OrderLogisticsResponse  result = new  OrderLogisticsResponse();
        BeanDataUtils.copyProperties(source, result);
        return result;
    }

}

